  <script type="text/javascript">
    $(document).ready( function () {
      // 延时清除掉成功、失败提示信息
      if ($('.ui.success.message').length > 0) {
        $('.ui.success.message').fadeOut(3000)
      } else if ($('.ui.error.message').length > 0) {
        $('.ui.error.message').fadeOut(4000)
      }

      //  点击按钮弹出下拉框
      $('.ui.dropdown').dropdown();
      
      // 鼠标悬浮在头像上，弹出气泡提示框
      $('#tag-right .avatar-link').popup({
        inline: true,
        position: 'right center',
        lastResort: 'right center'
      });
      $('#tag-left .avatar-link').popup({
        inline: true,
        position: 'left center',
        lastResort: 'left center'
      });
      $('.special.cards .image').dimmer({
        on: 'hover'
      });
    })
  </script>
  </body>
  <footer class="ui container">
    <span>Copyright © 2016-2017 <a>像素小站</a>. All rights reserved. - 粤ICP备17119684号</span>
  </footer>
</html>
